package com.hznc.wcs.excel.model;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.lang.Double;
import java.math.BigDecimal;

import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.diboot.core.util.D;
import com.diboot.core.util.V;
import com.diboot.core.data.copy.Accept;
import com.diboot.file.excel.BaseExcelModel;
import com.hznc.wcs.entity.modbusconfig.ModbusSlaveConfig;
import lombok.Getter;
import lombok.Setter;
import jakarta.validation.constraints.NotNull;

/**
* ModbusSalve配置 导出model定义
*
* @author MyName
* @version 1.0
* @date 2024-11-29
 * Copyright © MyCorp
*/
@Getter
@Setter
@ExcelIgnoreUnannotated
public class ModbusSlaveConfigExportModel extends BaseExcelModel {

    /**
    * 编码
    */
    @ExcelProperty(value = "编码")
    private String code;

    /**
    * 名称
    */
    @ExcelProperty(value = "名称")
    private String name;

    /**
    * 主机
    */
    @ExcelProperty(value = "主机")
    private String host;

    /**
    * 端口
    */
    @ExcelProperty(value = "端口")
    private String port;

    /**
    * 协议
    */
    @Accept(name = "protocolLabel.label")
    @ExcelProperty(value = "协议")
    private String protocolLabel;
}